import userInfosfromdb from "../entity/UserInfo"

export default class UserDaoImpl {
  public findUsrByUsm(username: string, pwd: string) {
    return userInfosfromdb.find((userinfo) => {
      return username === userinfo.username && pwd === userinfo.password;
    })
  }
}
